public class Arithmetic {
    public static void main(String[] args) {
        double percent = 10.0;
        System.out.println("before fun call percent = "+percent);
        tripleValue(percent);
        System.out.println("after fun call percent = "+percent);
    }
    public static void tripleValue(double x){
        x = 3 * x;
    }

}
